﻿using Bridge.Shared.Enums.Wms;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Orders.Output
{
    public class OrderOutput
    {
        public Guid Id { get; set; }
        /// <summary>
        /// 单据编号
        /// </summary>
        public string VoucherCode { get; set; }


        /// <summary>
        /// 发货仓库
        /// </summary>
        public Guid WarehouseId { get; set; }

        /// <summary>
        /// 发货仓库
        /// </summary>
        public string WarehouseName { get; set; }

        /// <summary>
        /// 供应商编码
        /// </summary>
        public Guid? SupplierId { get; set; }

        /// <summary>
        /// 供应商名称
        /// </summary>
        public string SupplierName { get; set; }

        /// <summary>
        /// 申请时间
        /// </summary>
        public DateTime CreatedOn { get; set; }

        /// <summary>
        /// 申请人
        /// </summary>
        public string CreatedBy { get; set; }

        /// <summary>
        /// 审核时间
        /// </summary>
        public DateTime? AuditOn { get; set; }

        /// <summary>
        /// 审核人
        /// </summary>
        public string AuditBy { get; set; }

        /// <summary>
        /// 订单状态
        /// </summary>
        public OrderStatusEnum Status { get; set; }
    }
}
